﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace UnityModule
{
    /// <summary>
    /// 待结构性重构
    /// </summary>
    public class LoadedAssetBundle
    {
        public string abNameWithHash;
        public AssetBundle assetBundle;
        public LoadOptions options = LoadOptions.Auto;
        /// <summary>
        /// 这里引用计数，不做bundle和资源的引用计数，只管bundle之间的引用计数
        /// bundle只有在加载和作为依赖bundle时候引用计数+1，卸载接口调用一次计数-1
        /// </summary>
        public int refCount;
    }
}
